<?php
class setSocialMessageViewed extends ActionHandler 
{
	function handleRequest($jsonData)
	{
		$userId = $jsonData['userId'];
		$sql = "update ".$this->tables['social_profile']." set viewed = true where ownerId = ".$userId;
		$result = $this->db->query($sql);
		return true;
	}
}
?>
